package com.ego.order.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.ego.inter.domain.UserAddress;
import com.ego.inter.service.OrderService;
import com.ego.inter.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @date 2020/10/12 14:08
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Reference
    private UserService userService;


    public List<UserAddress> initOrder() {
        return userService.queryAllAddress();
    }
}
